When you enter a URL in the Object inspector or URL panel, you can enter an absolute URL or a relative URL:
![]() |
If you are linking to a Web page that is beyond your Web site, you must use an absolute URL. |
![]() |
If you are linking to a Web page within your Web site, you can use an absolute URL or a relative URL. |
Absolute URLs are complete URLs that include the server protocol, which is usually http:// for Web pages. For example, http://www.macromedia.com/support/fireworks is the absolute URL for the Macromedia Fireworks Support Web page. Absolute URLs remain accurate regardless of the location of the source document, but they do not link correctly if the target document is moved.
Relative URLs are relative to the folder containing the source document. These are examples showing the navigation syntax of relative URLs:
![]() |
file.htm links to a file located in the same folder as the source document. |
![]() |
../../file.htm links to a file located in the folder two steps above the folder containing the source document. Each ../ represents one step. |
![]() |
htmldocs/file.htm links to a file located in a folder named htmldocs, which is below the folder containing the source document. |
Relative URLs are often the simplest URLs to use for links to files that will always be in the same folder as the current document.